# Change these as needed:

DATABASE_ENGINE = "sqlite3"
DATABASE_NAME = "/var/lib/pyplog/database"
DATABASE_USER = ""
DATABASE_PASSWORD = ""
DATABASE_HOST = ""
DATABASE_PORT = ""
MEDIA_URL = "http://127.0.0.1/media/"
PYPLOG_DIR = "/usr/local/share/pyplog/"
SITE_ID = 1
TIME_ZONE = "Europe/Berlin"

# You shouldn't need to change anything below this line.

MEDIA_ROOT = PYPLOG_DIR + "media/"
TEMPLATE_DIRS = (PYPLOG_DIR + "templates/",)

PHOTO_MAXSIZE = (700, 700) # max length on x, y side in pixels
PHOTO_THUMBNAILSIZE = 76 # length on both sides in pixels

DEBUG = False

USE_I18N = False

MIDDLEWARE_CLASSES = (
	"django.middleware.common.CommonMiddleware",
	"django.contrib.sessions.middleware.SessionMiddleware",
	"django.contrib.auth.middleware.AuthenticationMiddleware",
)

ROOT_URLCONF = "pyplog.urls"

TEMPLATE_CONTEXT_PROCESSORS = (
	"django.core.context_processors.auth",
	"django.core.context_processors.media",
	"pyplog.context_processors.blog_archive",
	"pyplog.context_processors.pyplog_settings",
	"pyplog.context_processors.pages",
)
_debug_processor = "django.core.context_processors.debug"
if DEBUG is True and _debug_processor not in TEMPLATE_CONTEXT_PROCESSORS:
	TEMPLATE_CONTEXT_PROCESSORS += (_debug_processor,)

INSTALLED_APPS = (
	"django.contrib.admin",
	"django.contrib.auth",
	"django.contrib.contenttypes",
	"django.contrib.humanize",
	"django.contrib.markup",
	"django.contrib.sessions",
	"django.contrib.sitemaps",
	"django.contrib.sites",
	"pyplog.artists",
	"pyplog.blog",
	"pyplog.photos",
	"pyplog.config",
	"pyplog.pages",
)
